home loan eligibility calculation method